package com.zhuoli.service.springboot.mybatis.transaction;

import com.zhuoli.service.springboot.mybatis.transaction.repository.conf.MasterDataSourceConfig;
import com.zhuoli.service.springboot.mybatis.transaction.repository.conf.SlaveDataSourceConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;

/**
 * @Author: zhuoli
 * @Date: 2018/8/5 10:45
 * @Description:
 */
@SpringBootApplication
@Import(value = {MasterDataSourceConfig.class, SlaveDataSourceConfig.class})
public class SpringBootMybatisTransactionApplicationContext {
    public static void main(String[] args) {
        SpringApplication.run(SpringBootMybatisTransactionApplicationContext.class, args);
    }
}
